
<%@ page import="apralms.ProjectIndex" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'projectIndex.label', default: 'ProjectIndex')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-projectIndex" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-projectIndex" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list projectIndex">
			
				<g:if test="${projectIndexInstance?.code}">
				<li class="fieldcontain">
					<span id="code-label" class="property-label"><g:message code="projectIndex.code.label" default="Code" /></span>
					
						<span class="property-value" aria-labelledby="code-label"><g:fieldValue bean="${projectIndexInstance}" field="code"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${projectIndexInstance?.name}">
				<li class="fieldcontain">
					<span id="name-label" class="property-label"><g:message code="projectIndex.name.label" default="Name" /></span>
					
						<span class="property-value" aria-labelledby="name-label"><g:fieldValue bean="${projectIndexInstance}" field="name"/></span>
					
				</li>
				</g:if>				
				
				<g:if test="${projectIndexInstance?.scheme}">
				<li class="fieldcontain">
					<span id="scheme-label" class="property-label"><g:message code="projectIndex.scheme.label" default="Scheme" /></span>
					
						<span class="property-value" aria-labelledby="scheme-label"><g:link controller="scheme" action="show" id="${projectIndexInstance?.scheme?.id}">${projectIndexInstance?.scheme?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${projectIndexInstance?.project}">
				<li class="fieldcontain">
					<span id="project-label" class="property-label"><g:message code="projectIndex.project.label" default="Project" /></span>
					
						<span class="property-value" aria-labelledby="project-label"><g:link controller="project" action="show" id="${projectIndexInstance?.project?.id}">${projectIndexInstance?.project?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
							
				<g:if test="${projectIndexInstance?.parameter}">
				<li class="fieldcontain">
					<span id="parameter-label" class="property-label"><g:message code="projectIndex.parameter.label" default="Parameter" /></span>
					
						<span class="property-value" aria-labelledby="parameter-label"><g:link controller="parameter" action="show" id="${projectIndexInstance?.parameter?.id}">${projectIndexInstance?.parameter?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>

				<li class="fieldcontain">
					<span id="known-label" class="property-label"><g:message code="projectIndex.known.label" default="Known" /></span>
					
						<span class="property-value" aria-labelledby="known-label"><g:formatBoolean boolean="${projectIndexInstance?.known}" /></span>
					
				</li>
				
				<g:if test="${projectIndexInstance?.targetValue}">
				<li class="fieldcontain">
					<span id="targetValue-label" class="property-label"><g:message code="projectIndex.targetValue.label" default="Target Value" /></span>
					
						<span class="property-value" aria-labelledby="targetValue-label"><g:fieldValue bean="${projectIndexInstance}" field="targetValue"/></span>
					
				</li>
				</g:if>
				
				<g:if test="${projectIndexInstance?.limitValue}">
				<li class="fieldcontain">
					<span id="limitValue-label" class="property-label"><g:message code="projectIndex.limitValue.label" default="Limit Value" /></span>
					
						<span class="property-value" aria-labelledby="limitValue-label"><g:fieldValue bean="${projectIndexInstance}" field="limitValue"/></span>
					
				</li>
				</g:if>
				
				<g:if test="${projectIndexInstance?.spareValue}">
				<li class="fieldcontain">
					<span id="spareValue-label" class="property-label"><g:message code="projectIndex.spareValue.label" default="Spare Value" /></span>
					
						<span class="property-value" aria-labelledby="spareValue-label"><g:fieldValue bean="${projectIndexInstance}" field="spareValue"/></span>
					
				</li>
				</g:if>
				
				<g:if test="${projectIndexInstance?.readyTarget}">
				<li class="fieldcontain">
					<span id="readyTarget-label" class="property-label"><g:message code="projectIndex.readyTarget.label" default="Ready Target Value" /></span>
					
						<span class="property-value" aria-labelledby="readyTarget-label"><g:fieldValue bean="${projectIndexInstance}" field="readyTarget"/></span>
					
				</li>
				</g:if>
				
				<g:if test="${projectIndexInstance?.readyLimit}">
				<li class="fieldcontain">
					<span id="readyLimit-label" class="property-label"><g:message code="projectIndex.readyLimit.label" default="Ready Limit Value" /></span>
					
						<span class="property-value" aria-labelledby="readyLimit-label"><g:fieldValue bean="${projectIndexInstance}" field="readyLimit"/></span>
					
				</li>
				</g:if>
							
				<g:if test="${projectIndexInstance?.assignValue}">
				<li class="fieldcontain">
					<span id="assignValue-label" class="property-label"><g:message code="projectIndex.assignValue.label" default="Assign Value" /></span>
					
						<span class="property-value" aria-labelledby="assignValue-label"><g:fieldValue bean="${projectIndexInstance}" field="assignValue"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${projectIndexInstance?.calValue}">
				<li class="fieldcontain">
					<span id="calValue-label" class="property-label"><g:message code="projectIndex.calValue.label" default="Cal Value" /></span>
					
						<span class="property-value" aria-labelledby="calValue-label"><g:fieldValue bean="${projectIndexInstance}" field="calValue"/></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${projectIndexInstance?.id}" />
					<g:link class="edit" action="edit" id="${projectIndexInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
